package com.atguigu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassNAME UserController
 * @Description
 * @Author wuyafeng atguigu
 * @Date 2021/11/10 14:04
 * @Version 1.0
 **/
@RestController
@RequestMapping("/user")
public class UserController {
    @RequestMapping("/sayHello")
    public String sayHello(){
        return "sayHello";
    }
}
